home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / Pakiet internetowy / Anonimowosc i bezpieczenstwo / TOR 0.1.1.24 / vidalia-bundle-0.1.1.24-0.0.7.exe / Privoxy / templates / edit-actions-for-url < prev    next >
Text File  |  2004-03-05  |  39KB  |  895 lines

  1. ##############################################################################
  2. #
  3. # File        :  $Source: /cvsroot/ijbswa/current/templates/edit-actions-for-url,v $
  4. #
  5. # Purpose     :  Template used to edit the actions associated with a
  6. #                particular section in an actions file.
  7. #
  8. # Copyright   :  Written by and Copyright (C) 2001 the SourceForge
  9. #                Privoxy team. http://www.privoxy.org/
  10. #
  11. #                Original Author: Copyright (C) 2001 Jonathan Foster
  12. #                http://www.jon-foster.co.uk/
  13. #
  14. #                This program is free software; you can redistribute it 
  15. #                and/or modify it under the terms of the GNU General
  16. #                Public License as published by the Free Software
  17. #                Foundation; either version 2 of the License, or (at
  18. #                your option) any later version.
  19. #
  20. #                This program is distributed in the hope that it will
  21. #                be useful, but WITHOUT ANY WARRANTY; without even the
  22. #                implied warranty of MERCHANTABILITY or FITNESS FOR A
  23. #                PARTICULAR PURPOSE.  See the GNU General Public
  24. #                License for more details.
  25. #
  26. #                The GNU General Public License should be included with
  27. #                this file.  If not, you can view it at
  28. #                http://www.gnu.org/copyleft/gpl.html
  29. #                or write to the Free Software Foundation, Inc., 59
  30. #                Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  31. #
  32. # Revisions   :
  33. #    $Log: edit-actions-for-url,v $
  34. #    Revision 1.29.2.3  2002/08/23 02:22:53  hal9
  35. #    Fix a perl brain fart with <li> in comments.
  36. #
  37. #    Revision 1.29.2.1  2002/08/02 12:51:42  oes
  38. #    Added top submit button; Consistency with docs: Change default name for action from hide-referer to hide-referrer
  39. #
  40. #    Revision 1.29  2002/05/21 19:10:57  oes
  41. #    Fixed JavaScript error
  42. #
  43. #    Revision 1.28  2002/05/14 21:36:38  oes
  44. #     - Renamed prevent-(setting/reading)-cookies to
  45. #       crunch-(incoming/outgoing)-cookies
  46. #     - Renamed helplink export to actions-help-prefix
  47. #     - Restored alphabetical order of actions
  48. #
  49. #    Revision 1.27  2002/04/26 22:55:26  jongfoster
  50. #    Removing the alternating colors because they've been wrong
  51. #    since the actions renames, they're high maintenance, they
  52. #    don't look particularly good, and now there are gaps between
  53. #    the table cells we don't need them.
  54. #
  55. #    Revision 1.26  2002/04/26 21:55:17  jongfoster
  56. #    Cosmetic change: Making the +filter UI look the same as
  57. #    the other actions.
  58. #
  59. #    Revision 1.25  2002/04/26 21:37:50  jongfoster
  60. #    Fixing all(?) the substitutions that were broken in the
  61. #    recent actions rename.
  62. #
  63. #    Revision 1.24  2002/04/26 18:24:28  jongfoster
  64. #    Fixing typos in help hyperlinks
  65. #
  66. #    Revision 1.23  2002/04/26 12:57:02  oes
  67. #    Actions renamed, alphabetically sorted, comments fixed, and names linked to help
  68. #
  69. #    Revision 1.22  2002/04/10 13:32:53  oes
  70. #    Made templates modular
  71. #
  72. #    Revision 1.21  2002/04/08 17:05:18  oes
  73. #    Inline a style exception
  74. #
  75. #    Revision 1.20  2002/04/05 16:01:30  oes
  76. #    Correct HTML, external Stylesheets, eye candy, some fixes
  77. #
  78. #    Revision 1.19  2002/03/26 22:29:56  swa
  79. #    we have a new homepage!
  80. #
  81. #    Revision 1.18  2002/03/24 16:32:08  jongfoster
  82. #    Removing logo option
  83. #
  84. #    Revision 1.17  2002/03/24 15:23:33  jongfoster
  85. #    Name changes
  86. #
  87. #    Revision 1.16  2002/03/24 11:01:06  swa
  88. #    name change
  89. #
  90. #    Revision 1.15  2002/03/23 16:18:15  swa
  91. #    renamed every reference to the old name with foobar.
  92. #    fixed "application foobar application" tag, fixed
  93. #    "the foobar" with "foobar". left junkbuster in cvs
  94. #    comments and remarks to history untouched. should
  95. #    make final rename easier.
  96. #
  97. #    Revision 1.14  2002/03/16 15:22:19  jongfoster
  98. #    Moving 'alpha' warning to the end of the page
  99. #
  100. #    Revision 1.13  2002/03/16 14:28:38  jongfoster
  101. #    First version of modular filters support
  102. #
  103. #    Revision 1.12  2002/03/12 01:42:50  oes
  104. #    Introduced modular filters
  105. #
  106. #    Revision 1.11  2002/03/08 18:19:14  jongfoster
  107. #    Adding +image-blocker{pattern} option to edit interface
  108. #
  109. #    Revision 1.10  2002/03/03 10:29:12  swa
  110. #    point users to the right feedback forms,
  111. #    not necessarily the developer list.
  112. #
  113. #    Revision 1.9  2002/01/23 00:26:45  jongfoster
  114. #    Reducing length of URLs
  115. #    Where encoded and unencoded versions of a string existed, removing
  116. #    the unencoded one.
  117. #
  118. #    Revision 1.8  2002/01/17 21:33:00  jongfoster
  119. #    Replacing all references to the URL of the config interface
  120. #    with @default-cgi@
  121. #
  122. #    Revision 1.7  2002/01/17 21:21:03  jongfoster
  123. #    DOS->Unix line endings
  124. #
  125. #    Revision 1.6  2001/11/22 21:58:41  jongfoster
  126. #    Adding action +no-cookies-keep
  127. #
  128. #    Revision 1.5  2001/11/13 21:12:17  jongfoster
  129. #    Added support for the following actions:
  130. #    +downgrade, +limit-connect, +no-compression
  131. #
  132. #    Revision 1.4  2001/11/13 00:58:18  jongfoster
  133. #    New version of actions file editor templates
  134. #
  135. #
  136. ##############################################################################
  137. #
  138. # Browser support for the JavaScript on this page:
  139. #   MS Internet Explorer 5.5 - Tested,   Yes
  140. #   Netscape 6.0             - Tested,   Yes
  141. #   Netscape 4.75            - Tested,   NO
  142. #   Opera 5.12               - Tested,   NO
  143. #   MS Internet Explorer 4+  - Untested, Yes
  144. #   MS IE 3.x, NS3.x         - Untested, NO
  145. #   Mozilla >=0.6            - Untested, Yes
  146. #
  147. # All browsers should work, you just might not get the pretty DHTML effects.
  148. #
  149. # The effects that only work under the browsers marked "Yes" above are:
  150. #  - Text edit boxes that won't have any effect are disabled.
  151. #  - Table rows containing additional settings are hidden if the feature in
  152. #    question is disabled.
  153. #
  154. # There are major kludges to get around these problems with NS4, but they
  155. # screw up the HTML too much for other browsers.  If anyone wants to try,
  156. # here's some descriptions of the kludges:
  157. #    http://www.webreference.com/js/tips/991114.html
  158. #    http://www.webreference.com/dhtml/column12/outDisplay.html
  159. #
  160. # If you're favorite browser isn't listed, please test and add it.
  161. #
  162. #
  163. #############################################################################
  164. #
  165. # Standard support:
  166. #
  167. # This file currently produces valid HTML 4.01 Strict.
  168. #
  169. # If you change it, please save the generated page from your web browser
  170. # and then upload it to http://validator.w3.org/ for checking.
  171. #
  172. #############################################################################
  173. #
  174. # Available variables include:
  175. #
  176. # action-name-y
  177. # action-name-n
  178. # action-name-x
  179. #
  180. # deanimate-gifs-param-first
  181. # deanimate-gifs-param-last
  182. # hide-from-param-block
  183. # hide-from-param-custom
  184. # hide-from-param
  185. # hide-referrer-param-forge
  186. # hide-referrer-param-block
  187. # hide-referrer-param-custom
  188. # hide-referrer-param
  189. # hide-user-agent-param
  190. # image-blocker-param-pattern
  191. # image-blocker-param-blank
  192. # image-blocker-param-custom
  193. #
  194. #
  195. #############################################################################
  196. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  197. <html>
  198.  
  199. <head>
  200.   <meta http-equiv="Content-Style-Type" content="text/css">
  201.   <meta http-equiv="Content-Script-Type" content="text/javascript">
  202.   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  203.   <meta name="robots" content="noindex,nofollow">
  204.   <link rel="stylesheet" type="text/css" href="@default-cgi@send-stylesheet">
  205.  
  206.   <title>Privoxy@@my-hostname@: Edit actions</title>
  207.  
  208. <style type="text/css">
  209. td.action    { font-weight: bold;
  210.                font-style: italic;
  211.                white-space: nowrap       }
  212. td.subaction { font-style: italic        }
  213. th           { font-weight: bold;        }
  214. # This is the key to the color names below:
  215. # bg=background, en="Enable", dis="Disable", noc="No Change", hdr=header
  216. # 1=odd rows, 2=even rows, h=Table header
  217. tr.hdr       { background-color: #999999 }
  218. tr.bg1       { background-color: #eeeeee }
  219. td.en1       { background-color: #ddffdd }
  220. td.dis1      { background-color: #ffdddd }
  221. td.noc1      { background-color: #ddddff }
  222. th.enh       { background-color: #99ff99 }
  223. th.dish      { background-color: #ff9999 }
  224. th.noch      { background-color: #9999ff }
  225. table.wide   { padding: 5px; }
  226. td.green     { border: solid black 1px; background-color: #ddffdd; }
  227. </style>
  228.  
  229. <!--
  230. border-color: white;
  231.                border-style: solid;
  232.                border-left-width: 10px;
  233.                border-right-width: 10px;
  234.                border-top-width: 0px;
  235.                border-bottom-width: 0px  }
  236. -->
  237.  
  238. <script type="text/javascript">
  239. <!--
  240.  
  241. function hide_from_header_param_disable(tf)
  242. {
  243.     if (document.getElementById) {
  244.         // NS6 or IE5
  245.         document.getElementById("hide_from_header_param").disabled = tf;
  246.     } else if (document.all) {
  247.         // IE4
  248.         document.myform.hide_from_header_param.disabled = tf;
  249.     }
  250. }
  251.  
  252. function hide_referrer_param_disable(tf)
  253. {
  254.     if (document.getElementById) {
  255.         document.getElementById("hide_referrer_param").disabled = tf;
  256.     } else if (document.all) {
  257.         document.myform.hide_referrer_param.disabled = tf;
  258.     }
  259. }
  260.  
  261. function set_image_blocker_param_disable(tf)
  262. {
  263.     if (document.getElementById) {
  264.         document.getElementById("set_image_blocker_param").disabled = tf;
  265.     } else if (document.all) {
  266.         document.myform.set_image_blocker_param.disabled = tf;
  267.     }
  268. }
  269.  
  270. function show_add_header_opts(tf)
  271. {
  272.     if (document.getElementById) {
  273.         target = document.getElementById("add_header_opts");
  274.     } else if (document.all) {
  275.         target = document.add_header_opts;
  276.     } else {
  277.         return;
  278.     }
  279.     target.style.display = (tf ? "" : "none");
  280. }
  281.  
  282. function show_deanimate_opts(tf)
  283. {
  284.     if (document.getElementById) {
  285.         target = document.getElementById("deanimate_opts");
  286.     } else if (document.all) {
  287.         target = document.deanimate_opts;
  288.     } else {
  289.         return;
  290.     }
  291.     target.style.display = (tf ? "" : "none");
  292. }
  293.  
  294. function show_hide_from_header_opts(tf)
  295. {
  296.     if (document.getElementById) {
  297.         target = document.getElementById("hide_from_header_opts");
  298.     } else if (document.all) {
  299.         target = document.hide_from_header_opts;
  300.     } else {
  301.         return;
  302.     }
  303.     target.style.display = (tf ? "" : "none");
  304. }
  305.  
  306. function show_hide_referrer_opts(tf)
  307. {
  308.     if (document.getElementById) {
  309.         target = document.getElementById("hide_referrer_opts");
  310.     } else if (document.all) {
  311.         target = document.hide_referrer_opts;
  312.     } else {
  313.         return;
  314.     }
  315.     target.style.display = (tf ? "" : "none");
  316. }
  317.  
  318. function show_user_agent_opts(tf)
  319. {
  320.     if (document.getElementById) {
  321.         target = document.getElementById("user_agent_opts");
  322.     } else if (document.all) {
  323.         target = document.user_agent_opts;
  324.     } else {
  325.         return;
  326.     }
  327.     target.style.display = (tf ? "" : "none");
  328. }
  329.  
  330. function show_set_image_blocker_opts(tf)
  331. {
  332.     if (document.getElementById) {
  333.         target = document.getElementById("set_image_blocker_opts");
  334.     } else if (document.all) {
  335.         target = document.set_image_blocker_opts;
  336.     } else {
  337.         return;
  338.     }
  339.     target.style.display = (tf ? "" : "none");
  340. }
  341.  
  342. function show_limit_connect_opts(tf)
  343. {
  344.     if (document.getElementById) {
  345.         target = document.getElementById("limit_connect_opts");
  346.     } else if (document.all) {
  347.         target = document.limit_connect_opts;
  348.     } else {
  349.         return;
  350.     }
  351.     target.style.display = (tf ? "" : "none");
  352. }
  353.  
  354. function show_send_wafer_opts(tf)
  355. {
  356.     if (document.getElementById) {
  357.         target = document.getElementById("send_wafer_opts");
  358.     } else if (document.all) {
  359.         target = document.send_wafer_opts;
  360.     } else {
  361.         return;
  362.     }
  363.     target.style.display = (tf ? "" : "none");
  364. }
  365.  
  366. //-->
  367. </script>
  368. </head>
  369.  
  370. <body>
  371.  
  372. <form method="GET" action="edit-actions-submit" id="myform" name="myform">
  373.  
  374.   <table cellpadding="20" cellspacing="10" border="0" width="100%">
  375.     <tr>
  376.       <td class="title">
  377.  
  378. #include mod-title
  379.  
  380.       </td>
  381.     </tr>
  382.  
  383. <!-- @if-unstable-start -->
  384. # This will only appear if CODE_STATUS is "alpha" or "beta". See configure.in
  385.     <tr>
  386.       <td class="warning">
  387.  
  388. #include mod-unstable-warning
  389.  
  390.       </td>
  391.     </tr>
  392. <!-- if-unstable-end@ -->
  393.  
  394.     <tr>
  395.       <td class="box">
  396.         <h2>Edit Actions
  397.           <input type="hidden" name="f" value="@f@">
  398.           <input type="hidden" name="v" value="@v@">
  399.           <input type="hidden" name="s" value="@s@">
  400.         </h2>
  401.       </td>
  402.     </tr>
  403.  
  404.     <tr>
  405.       <td class="green" align="center">
  406.         <p><input type="submit" value="Submit" name="Submit"></p>
  407.       </td>
  408.     </tr>
  409.  
  410. <tr><td class="wrapbox">
  411.  
  412.   <table border="0" cellspacing="2" width="100%" class="wide">
  413.     <tr class="hdr" align="left">
  414.       <th class="enh" align="center">Enable</th>
  415.       <th class="dish" align="center">Disable</th>
  416.       <th class="noch" align="center">No Change</th>
  417.       <th>Action</th>
  418.       <th>Description</th>
  419.     </tr>
  420.     <tr class="bg1" align="left" valign="top">
  421.       <td class="en1" align="center" valign="middle"><input type="radio"
  422.         name="add_header" id="add_header_y" value="Y" @add-header-y@
  423.         onclick="show_add_header_opts(true)"></td>
  424.       <td class="dis1" align="center" valign="middle"><input type="radio"
  425.         name="add_header" value="N" @add-header-n@
  426.         onclick="show_add_header_opts(false)"></td>
  427.       <td class="noc1" align="center" valign="middle"><input type="radio"
  428.         name="add_header" value="X" @add-header-x@
  429.         onclick="show_add_header_opts(false)"></td>
  430.       <td class="action"><a href="@user-manual@@actions-help-prefix@ADD-HEADER">add-header</a></td>
  431.       <td>Adds HTTP headers.</td>
  432.     </tr>
  433.     <tr class="bg1" align="left" valign="top" id="add_header_opts">
  434.       <td class="en1"> </td>
  435.       <td class="dis1"> </td>
  436.       <td class="noc1"> </td>
  437.       <td> </td>
  438.       <td>Editing the settings for this option, or turning
  439.         it on if it was off, is not yet supported using this web-based
  440.         editor.</td>
  441.     </tr>
  442.     <tr class="bg1" align="left" valign="top">
  443.       <td class="en1" align="center" valign="middle"><input type="radio"
  444.         name="block" value="Y" @block-y@
  445.         ></td>
  446.       <td class="dis1" align="center" valign="middle"><input type="radio"
  447.         name="block" value="N" @block-n@
  448.         ></td>
  449.       <td class="noc1" align="center" valign="middle"><input type="radio"
  450.         name="block" value="X" @block-x@
  451.         ></td>
  452.       <td class="action"><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></td>
  453.       <td>Block the request</td>
  454.     </tr>
  455.     <tr class="bg1" align="left" valign="top">
  456.       <td class="en1" align="center" valign="middle"><input type="radio"
  457.         name="crunch_incoming_cookies" value="Y" @crunch-incoming-cookies-y@
  458.         ></td>
  459.       <td class="dis1" align="center" valign="middle"><input type="radio"
  460.         name="crunch_incoming_cookies" value="N" @crunch-incoming-cookies-n@
  461.         ></td>
  462.       <td class="noc1" align="center" valign="middle"><input type="radio"
  463.         name="crunch_incoming_cookies" value="X" @crunch-incoming-cookies-x@
  464.         ></td>
  465.       <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES">crunch-incoming-cookies</a></td>
  466.       <td>Prevent the website from setting cookies on your system.</td>
  467.     </tr>
  468.     <tr class="bg1" align="left" valign="top">
  469.       <td class="en1" align="center" valign="middle"><input type="radio"
  470.         name="crunch_outgoing_cookies" value="Y" @crunch-outgoing-cookies-y@
  471.         ></td>
  472.       <td class="dis1" align="center" valign="middle"><input type="radio"
  473.         name="crunch_outgoing_cookies" value="N" @crunch-outgoing-cookies-n@
  474.         ></td>
  475.       <td class="noc1" align="center" valign="middle"><input type="radio"
  476.         name="crunch_outgoing_cookies" value="X" @crunch-outgoing-cookies-x@
  477.         ></td>
  478.       <td class="action"><a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES">crunch-outgoing-cookies</a></td>
  479.       <td>Prevent the website from reading cookies from your system.</td>
  480.     </tr>
  481.     <tr class="bg1" align="left" valign="top">
  482.       <td class="en1" align="center" valign="middle"><input type="radio"
  483.         name="deanimate_gifs" id="deanimate_gifs_y" value="Y" @deanimate-gifs-y@
  484.         onclick="show_deanimate_opts(true)"></td>
  485.       <td class="dis1" align="center" valign="middle"><input type="radio"
  486.         name="deanimate_gifs" value="N" @deanimate-gifs-n@
  487.         onclick="show_deanimate_opts(false)"></td>
  488.       <td class="noc1" align="center" valign="middle"><input type="radio"
  489.         name="deanimate_gifs" value="X" @deanimate-gifs-x@
  490.         onclick="show_deanimate_opts(false)"></td>
  491.       <td class="action"><a href="@user-manual@@actions-help-prefix@DEANIMATE-GIFS">deanimate-gifs</a></td>
  492.       <td>Replace animated GIFs with their (first/last) frame.</td>
  493.     </tr>
  494.     <tr class="bg1" align="left" valign="top" id="deanimate_opts">
  495.       <td class="en1"> </td>
  496.       <td class="dis1"> </td>
  497.       <td class="noc1"> </td>
  498.       <td> </td>
  499.       <td>Use the <input type="radio" name="deanimate_gifs_mode"
  500.         value="first" id="deanimate_first" @deanimate-gifs-param-first@><label
  501.         for="deanimate_first">first frame</label>   <input
  502.         type="radio" name="deanimate_gifs_mode" value="last" 
  503.         id="deanimate_last" @deanimate-gifs-param-last@><label
  504.         for="deanimate_last">last frame</label></td>
  505.     </tr>
  506.     <tr class="bg1" align="left" valign="top">
  507.       <td class="en1" align="center" valign="middle"><input type="radio"
  508.         name="downgrade_http_version" value="Y" @downgrade-http-version-y@></td>
  509.       <td class="dis1" align="center" valign="middle"><input type="radio"
  510.         name="downgrade_http_version" value="N" @downgrade-http-version-n@></td>
  511.       <td class="noc1" align="center" valign="middle"><input type="radio"
  512.         name="downgrade_http_version" value="X" @downgrade-http-version-x@></td>
  513.       <td class="action"><a href="@user-manual@@actions-help-prefix@DOWNGRADE-HTTP-VERSION">downgrade-http-version</td>
  514.       <td>Change HTTP/1.1 requests to HTTP/1.0.  Only change if you know
  515.         what you're doing!</td>
  516.     </tr>
  517.     <tr class="bg1" align="left" valign="top">
  518.       <td class="en1" align="center" valign="middle"><input type="radio"
  519.         name="fast_redirects" value="Y" @fast-redirects-y@
  520.         ></td>
  521.       <td class="dis1" align="center" valign="middle"><input type="radio"
  522.         name="fast_redirects" value="N" @fast-redirects-n@
  523.         ></td>
  524.       <td class="noc1" align="center" valign="middle"><input type="radio"
  525.         name="fast_redirects" value="X" @fast-redirects-x@
  526.         ></td>
  527.       <td class="action"><a href="@user-manual@@actions-help-prefix@FAST-REDIRECTS">fast-redirects</a></td>
  528.       <td>Bypass some click-tracking URLs.</td>
  529.     </tr>
  530.  
  531.     <tr class="bg1" align="left" valign="top">
  532.       <td class="en1"> </td>
  533.       <td class="dis1" align="center" valign="middle"><input type="radio"
  534.         name="filter_all" id="filter_all_n" value="N" @filter-all-n@ ></td>
  535.       <td class="noc1" align="center" valign="middle"><input type="radio"
  536.         name="filter_all" id="filter_all_x" value="X" @filter-all-x@ ></td>
  537.       <td class="action"><a href="@user-manual@@actions-help-prefix@FILTER">filter</a> *</td>
  538.       <td>Filter the website through regular expression
  539.         filters.  You can use the radio buttons on this line to disable
  540.         all filters applied by previous rules, and/or you can enable or
  541.         disable the filters individually below.</td>
  542.     </tr>
  543. @filter-params@
  544.     <tr class="bg1" align="left" valign="top">
  545.       <td class="en1" align="center" valign="middle"><input type="radio"
  546.         name="handle_as_image" value="Y" @handle-as-image-y@
  547.         ></td>
  548.       <td class="dis1" align="center" valign="middle"><input type="radio"
  549.         name="handle_as_image" value="N" @handle-as-image-n@
  550.         ></td>
  551.       <td class="noc1" align="center" valign="middle"><input type="radio"
  552.         name="handle_as_image" value="X" @handle-as-image-x@
  553.         ></td>
  554.       <td class="action"><a href="@user-manual@@actions-help-prefix@HANDLE-AS-IMAGE">handle-as-image</a></td>
  555.       <td>Request is for an image (only useful in conjunction with the <i><b><a href="@user-manual@@actions-help-prefix@BLOCK">block</a></b></i>
  556.         and <i><b><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></b></i> actions).</td>
  557.     </tr>
  558.     <tr class="bg1" align="left" valign="top">
  559.       <td class="en1" align="center" valign="middle"><input type="radio"
  560.         name="hide_forwarded_for_headers" value="Y" @hide-forwarded-for-headers-y@
  561.         ></td>
  562.       <td class="dis1" align="center" valign="middle"><input type="radio"
  563.         name="hide_forwarded_for_headers" value="N" @hide-forwarded-for-headers-n@
  564.         ></td>
  565.       <td class="noc1" align="center" valign="middle"><input type="radio"
  566.         name="hide_forwarded_for_headers" value="X" @hide-forwarded-for-headers-x@
  567.         ></td>
  568.       <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FORWARDED-FOR-HEADERS">hide-forwarded-for-headers</a></td>
  569.       <td>Block any existing X-Forwarded-for header, and do not add a new one.</td>
  570.     </tr>
  571.     <tr class="bg1" align="left" valign="top">
  572.       <td class="en1" align="center" valign="middle"><input type="radio"
  573.         name="hide_from_header" id="hide_from_header_y" value="Y" @hide-from-header-y@
  574.         onclick="show_hide_from_header_opts(true)"></td>
  575.       <td class="dis1" align="center" valign="middle"><input type="radio"
  576.         name="hide_from_header" value="N" @hide-from-header-n@
  577.         onclick="show_hide_from_header_opts(false)"></td>
  578.       <td class="noc1" align="center" valign="middle"><input type="radio"
  579.         name="hide_from_header" value="X" @hide-from-header-x@
  580.         onclick="show_hide_from_header_opts(false)"></td>
  581.       <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-FROM-HEADER">hide-from-header</a></td>
  582.       <td>Stop old web browsers from sending the user's e-mail address with
  583.         every request.</td>
  584.     </tr>
  585.     <tr class="bg1" align="left" valign="top" id="hide_from_header_opts">
  586.       <td class="en1"> </td>
  587.       <td class="dis1"> </td>
  588.       <td class="noc1"> </td>
  589.       <td> </td>
  590.       <td><input type="radio" name="hide_from_header_mode" value="block"
  591.         onclick="hide_from_header_param_disable(true);"
  592.         @hide-from-header-param-block@ id="hide_from_header_mode_block"><label
  593.         for="hide_from_header_mode_block">Remove completely</label><br>
  594.         <input type="radio" name="hide_from_header_mode" value="CUSTOM" 
  595.         onclick="hide_from_header_param_disable(false);"
  596.         @hide-from-header-param-custom@ id="hide_from_header_mode_set"><label
  597.         for="hide_from_header_mode_set">Fake e-mail address:</label><br>
  598.         <input type="text" name="hide_from_header_param" id="hide_from_header_param"
  599.         size="40" value="@hide-from-header-param@"></td>
  600.     </tr>
  601.     <tr class="bg1" align="left" valign="top">
  602.       <td class="en1" align="center" valign="middle"><input type="radio"
  603.         name="hide_referrer" id="hide_referrer_y" value="Y" @hide-referrer-y@
  604.         onclick="show_hide_referrer_opts(true)"></td>
  605.       <td class="dis1" align="center" valign="middle"><input type="radio"
  606.         name="hide_referrer" id="hide_referrer_n" value="N" @hide-referrer-n@
  607.         onclick="show_hide_referrer_opts(false)"></td>
  608.       <td class="noc1" align="center" valign="middle"><input type="radio"
  609.         name="hide_referrer" id="hide_referrer_x" value="X" @hide-referrer-x@
  610.         onclick="show_hide_referrer_opts(false)"
  611.         ></td>
  612.       <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-REFERRER">hide-referrer</a></td>
  613.       <td>Helps prevent tracking by not sending the URL of the previous web
  614.         page. </td>
  615.     </tr>
  616.     <tr class="bg1" align="left" valign="top" id="hide_referrer_opts">
  617.       <td class="en1"> </td>
  618.       <td class="dis1"> </td>
  619.       <td class="noc1"> </td>
  620.       <td> </td>
  621.       <td><input type="radio" name="hide_referrer_mode" value="block"
  622.         onclick="hide_referrer_param_disable(true)"
  623.         @hide-referrer-param-block@ id="hide_referrer_mode_block"><label
  624.         for="hide_referrer_mode_block">Remove completely</label> (breaks images
  625.         on some free web hosts).<br>
  626.         <input type="radio" name="hide_referrer_mode" value="forge"
  627.         onclick="hide_referrer_param_disable(true)"
  628.         @hide-referrer-param-forge@ id="hide_referrer_mode_forge"><label
  629.         for="hide_referrer_mode_forge">Fake as the root directory of the
  630.         site</label> (fools checks for in-site links.)<br>
  631.         <input type="radio" name="hide_referrer_mode" value="CUSTOM"
  632.         onclick="hide_referrer_param_disable(false)"
  633.         @hide-referrer-param-custom@ id="hide_referrer_mode_set"><label
  634.         for="hide_referrer_mode_set">Fake as this web address:</label><br>
  635.         <input type="text" name="hide_referrer_param" 
  636.         id="hide_referrer_param" size="40"
  637.         value="@hide-referrer-param@"></td>
  638.     </tr>
  639.     <tr class="bg1" align="left" valign="top">
  640.       <td class="en1" align="center" valign="middle"><input type="radio"
  641.         name="hide_user_agent" id="hide_user_agent_y" value="Y" @hide-user-agent-y@
  642.         onclick="show_user_agent_opts(true)"></td>
  643.       <td class="dis1" align="center" valign="middle"><input type="radio"
  644.         name="hide_user_agent" value="N" @hide-user-agent-n@
  645.         onclick="show_user_agent_opts(false)"></td>
  646.       <td class="noc1" align="center" valign="middle"><input type="radio"
  647.         name="hide_user_agent" value="X" @hide-user-agent-x@
  648.         onclick="show_user_agent_opts(false)"></td>
  649.       <td class="action"><a href="@user-manual@@actions-help-prefix@HIDE-USER-AGENT">hide-user-agent</a></td>
  650.       <td>Pretend to be using a different web browser.  (Breaks many web
  651.         sites).</td>
  652.     </tr>
  653.     <tr class="bg1" align="left" valign="top" id="user_agent_opts">
  654.       <td class="en1"> </td>
  655.       <td class="dis1"> </td>
  656.       <td class="noc1"> </td>
  657.       <td> </td>
  658.       <td>User Agent string to send:<br>
  659.         <input type="text" name="hide_user_agent_mode" size="40"
  660.         value="@hide-user-agent-param@"></td>
  661.     </tr>
  662.     <tr class="bg1" align="left" valign="top">
  663.       <td class="en1" align="center" valign="middle"><input type="radio"
  664.         name="kill_popups" value="Y" @kill-popups-y@
  665.         ></td>
  666.       <td class="dis1" align="center" valign="middle"><input type="radio"
  667.         name="kill_popups" value="N" @kill-popups-n@
  668.         ></td>
  669.       <td class="noc1" align="center" valign="middle"><input type="radio"
  670.         name="kill_popups" value="X" @kill-popups-x@
  671.         ></td>
  672.       <td class="action"><a href="@user-manual@@actions-help-prefix@KILL-POPUPS">kill-popups</td>
  673.       <td>Filter the website through a built-in filter to disable many JavaScript
  674.         pop-up windows.</td>
  675.     </tr>
  676.     <tr class="bg1" align="left" valign="top">
  677.       <td class="en1" align="center" valign="middle"><input type="radio"
  678.         name="limit_connect" id="limit_connect_y" value="Y" @limit-connect-y@
  679.         onclick="show_limit_connect_opts(true)"></td>
  680.       <td class="dis1" align="center" valign="middle"><input type="radio"
  681.         name="limit_connect" value="N" @limit-connect-n@
  682.         onclick="show_limit_connect_opts(false)"></td>
  683.       <td class="noc1" align="center" valign="middle"><input type="radio"
  684.         name="limit_connect" value="X" @limit-connect-x@
  685.         onclick="show_limit_connect_opts(false)"></td>
  686.       <td class="action"><a href="@user-manual@@actions-help-prefix@LIMIT-CONNECT">limit-connect</a></td>
  687.       <td>Specify which ports are allowed for SSL (HTTP CONNECT) access.
  688.         Note that this allows arbitrary tunnelling, so opening all
  689.         ports would be a security hole.</td>
  690.     </tr>
  691.     <tr class="bg1" align="left" valign="top" id="limit_connect_opts">
  692.       <td class="en1"> </td>
  693.       <td class="dis1"> </td>
  694.       <td class="noc1"> </td>
  695.       <td> </td>
  696.       <td>Legal SSL ports (comma separated, ranges allowed):<br>
  697.         <input type="text" name="limit_connect_mode" size="40"
  698.         value="@limit-connect-param@"></td>
  699.     </tr>
  700.     <tr class="bg1" align="left" valign="top">
  701.       <td class="en1" align="center" valign="middle"><input type="radio"
  702.         name="prevent_compression" value="Y" @prevent-compression-y@
  703.         ></td>
  704.       <td class="dis1" align="center" valign="middle"><input type="radio"
  705.         name="prevent_compression" value="N" @prevent-compression-n@
  706.         ></td>
  707.       <td class="noc1" align="center" valign="middle"><input type="radio"
  708.         name="prevent_compression" value="X" @prevent-compression-x@
  709.         ></td>
  710.       <td class="action"><a href="@user-manual@@actions-help-prefix@PREVENT-COMPRESSION">prevent-compression</a></td>
  711.       <td>Disables compression.  Compressed web pages are faster to
  712.         download, but cannot be filtered with <a href="@user-manual@@actions-help-prefix@FILTER"><b>filter</b></a>
  713.         or <a href="@user-manual@@actions-help-prefix@KILL-POPUPS"><b>kill-popups</b></a>.
  714.         This setting only affects the few web sites which support
  715.         compression.</td>
  716.     </tr>
  717.     <tr class="bg1" align="left" valign="top">
  718.       <td class="en1" align="center" valign="middle"><input type="radio"
  719.         name="send_vanilla_wafer" value="Y" @send-vanilla-wafer-y@
  720.         ></td>
  721.       <td class="dis1" align="center" valign="middle"><input type="radio"
  722.         name="send_vanilla_wafer" value="N" @send-vanilla-wafer-n@
  723.         ></td>
  724.       <td class="noc1" align="center" valign="middle"><input type="radio"
  725.         name="send_vanilla_wafer" value="X" @send-vanilla-wafer-x@
  726.         ></td>
  727.       <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-VANILLA-WAFER">send-vanilla-wafer</a></td>
  728.       <td>Adds a special wafer (standard cookie) to all your requests.</td>
  729.     </tr>
  730.     <tr class="bg1" align="left" valign="top">
  731.       <td class="en1" align="center" valign="middle"><input type="radio"
  732.         name="send_wafer" id="send_wafer_y" value="Y" @send-wafer-y@
  733.         onclick="show_send_wafer_opts(true)"></td>
  734.       <td class="dis1" align="center" valign="middle"><input type="radio"
  735.         name="send_wafer" id="send_wafer_n" value="N" @send-wafer-n@
  736.         onclick="show_send_wafer_opts(false)"></td>
  737.       <td class="noc1" align="center" valign="middle"><input type="radio"
  738.         name="send_wafer" id="send_wafer_x" value="X" @send-wafer-x@
  739.         onclick="show_send_wafer_opts(false)"></td>
  740.       <td class="action"><a href="@user-manual@@actions-help-prefix@SEND-WAFER">send-wafer</a></td>
  741.       <td>Adds user-specified cookies.</td>
  742.     </tr>
  743.     <tr class="bg1" align="left" valign="top" id="send_wafer_opts">
  744.       <td class="en1"> </td>
  745.       <td class="dis1"> </td>
  746.       <td class="noc1"> </td>
  747.       <td> </td>
  748.       <td>Editing the settings for this option, or turning
  749.         it on if it was off, is not yet supported using this web-based
  750.         editor.</td>
  751.     </tr>
  752.     <tr class="bg1" align="left" valign="top">
  753.       <td class="en1" align="center" valign="middle"><input type="radio"
  754.         name="session_cookies_only" value="Y" @session-cookies-only-y@
  755.         ></td>
  756.       <td class="dis1" align="center" valign="middle"><input type="radio"
  757.         name="session_cookies_only" value="N" @session-cookies-only-n@
  758.         ></td>
  759.       <td class="noc1" align="center" valign="middle"><input type="radio"
  760.         name="session_cookies_only" value="X" @session-cookies-only-x@
  761.         ></td>
  762.       <td class="action"><a href="@user-manual@@actions-help-prefix@SESSION-COOKIES-ONLY">session-cookies-only</a></td>
  763.       <td>Any cookies set by the website are changed to temporary
  764.         ("per-session") ones, which only last until you close your web
  765.         browser.  This will allow you to use sites that require cookies, but
  766.         sites will not be able to track you across sessions.  For this to
  767.         be useful, you should disable 
  768.         <a href="@user-manual@@actions-help-prefix@CRUNCH-OUTGOING-COOKIES"><b>crunch-outgoing-cookies</b></a> and
  769.         <a href="@user-manual@@actions-help-prefix@CRUNCH-INCOMING-COOKIES"><b>crunch-incoming-cookies</b></a>.</td>
  770.     </tr>
  771.     <tr class="bg1" align="left" valign="top">
  772.       <td class="en1" align="center" valign="middle"><input type="radio"
  773.         name="set_image_blocker" id="set_image_blocker_y" value="Y" @set-image-blocker-y@
  774.         onclick="show_set_image_blocker_opts(true)"></td>
  775.       <td class="dis1" align="center" valign="middle"><input type="radio"
  776.         name="set_image_blocker" value="N" @set-image-blocker-n@
  777.         onclick="show_set_image_blocker_opts(false)"></td>
  778.       <td class="noc1" align="center" valign="middle"><input type="radio"
  779.         name="set_image_blocker" value="X" @set-image-blocker-x@
  780.         onclick="show_set_image_blocker_opts(false)"></td>
  781.       <td class="action"><a href="@user-manual@@actions-help-prefix@SET-IMAGE-BLOCKER">set-image-blocker</a></td>
  782.       <td>Specifies how to block images.</td>
  783.     </tr>
  784.     <tr class="bg1" align="left" valign="top" id="set_image_blocker_opts">
  785.       <td class="en1"> </td>
  786.       <td class="dis1"> </td>
  787.       <td class="noc1"> </td>
  788.       <td> </td>
  789.       <td><input type="radio" name="set_image_blocker_mode"
  790.         onclick="set_image_blocker_param_disable(true)"
  791.         value="pattern" id="set_image_blocker_mode_pattern"
  792.         @set-image-blocker-param-pattern@><label
  793.         for="set_image_blocker_mode_pattern">Send a pattern (<img
  794.         src="send-banner?type=p" width="12" height="12"
  795.         alt="pattern">)</label><br>
  796.         <input type="radio" name="set_image_blocker_mode" value="blank"
  797.         onclick="set_image_blocker_param_disable(true)"
  798.         id="set_image_blocker_mode_blank" @set-image-blocker-param-blank@><label 
  799.         for="set_image_blocker_mode_blank">Send a 1x1 transparent GIF</label><br>
  800.         <input type="radio" name="set_image_blocker_mode" value="CUSTOM"
  801.         onclick="set_image_blocker_param_disable(false)"
  802.         id="set_image_blocker_mode_set" @set-image-blocker-param-custom@><label
  803.         for="set_image_blocker_mode_set">Redirect
  804.         the browser to this image URL:</label><br>
  805.         <input type="text" name="set_image_blocker_param" id="set_image_blocker_param"
  806.         size="40" value="@set-image-blocker-param@"></td>
  807.     </tr>
  808.   </table>
  809.  
  810. </td></tr>
  811.  
  812.     <tr>
  813.       <td class="green" align="center">
  814.         <p><input type="submit" value="Submit" name="Submit"></p>
  815.       </td>
  816.     </tr>
  817.  
  818.     <tr>
  819.       <td class="box">
  820.         <h2>More Privoxy:</h2>
  821.         <ul>@menu@<li><a href="@user-manual@">Documentation</a></li></ul>
  822.       </td>
  823.     </tr>
  824.  
  825.     <tr>
  826.       <td class="info">
  827.  
  828. #include mod-support-and-service
  829.  
  830.       </td>
  831.     </tr>
  832.  
  833. <!-- @if-have-help-info-start -->
  834.     <tr>
  835.       <td class="info">
  836.  
  837. #include mod-local-help
  838.  
  839.       </td>
  840.     </tr>
  841. <!-- if-have-help-info-end@ -->
  842.  
  843.     <tr>
  844.       <td>
  845.         <small><small>Valid <a href="http://validator.w3.org/">HTML 4.01 Strict</a></small></small>
  846.       </td>
  847.     </tr>
  848.  
  849.   </table>
  850. </form>
  851.  
  852.  
  853. <script type="text/javascript">
  854. <!--
  855.  
  856. if (document.getElementById) {
  857.     // alert("Netscape 6 or IE5");
  858.     document.getElementById("hide_from_header_param").disabled = !(document.getElementById("hide_from_header_mode_set").checked);
  859.     document.getElementById("hide_referrer_param").disabled = !(document.getElementById("hide_referrer_mode_set").checked);
  860.     document.getElementById("set_image_blocker_param").disabled = !(document.getElementById("set_image_blocker_mode_set").checked);
  861.  
  862.     show_add_header_opts    (document.getElementById("add_header_y").checked);
  863.     show_deanimate_opts     (document.getElementById("deanimate_gifs_y").checked);
  864.     show_hide_from_header_opts(document.getElementById("hide_from_header_y").checked);
  865.     show_hide_referrer_opts (document.getElementById("hide_referrer_y").checked);
  866.     show_user_agent_opts    (document.getElementById("hide_user_agent_y").checked);
  867.     show_set_image_blocker_opts (document.getElementById("set_image_blocker_y").checked);
  868.     show_limit_connect_opts (document.getElementById("limit_connect_y").checked);
  869.     show_send_wafer_opts    (document.getElementById("wafer_y").checked);
  870. } else if (document.all) {
  871.     // alert("IE4");
  872.     document.myform.hide_from_header_param.disabled = !(document.myform.hide_from_header_mode_set.checked);
  873.     document.myform.hide_referrer_param.disabled = !(document.myform.hide_referrer_mode_set.checked);
  874.     document.myform.set_image_blocker_param.disabled = !(document.myform.set_image_blocker_mode_set.checked);
  875.  
  876.     show_add_header_opts    (document.myform.add_header_y.checked);
  877.     show_deanimate_opts     (document.myform.deanimate_gifs_y.checked);
  878.     show_hide_from_header_opts (document.myform.hide_from_header_y.checked);
  879.     show_hide_referrer_opts (document.myform.hide_referrer_y.checked);
  880.     show_user_agent_opts    (document.myform.hide_user_agent_y.checked);
  881.     show_set_image_blocker_opts (document.myform.set_image_blocker_y.checked);
  882.     show_limit_connect_opts (document.myform.limit_connect_y.checked);
  883.     show_send_wafer_opts    (document.myform.wafer_y.checked);
  884. } else if (document.layers) {
  885.     // alert("Netscape 4");
  886. }
  887. //-->
  888. </script>
  889.  
  890.  
  891. </body>
  892.  
  893. </html>
  894.